let home={
    namespaced:true,
    state:{
        homeList:[1,2,3,4]
    },
    mutations:{
        addHomeList(state:any):void{
            state.homeList.push(1)
        }
    },
    actions:{
        async getHomeList(){
            console.log("执行了getHomeList")
            // let data=await axios.get("/list")
            // console.log(data)
        }
    },
    getters:{

    }
}
export default home